/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const tableRouter = {
  path: '/table',
  component: Layout,
  redirect: '/table/trips-table',
  name: 'Table',
  meta: {
    title: '数据管理',
    icon: 'table'
  },
  children: [
    {
      path: 'trips-table',
      component: () => import('@/views/table/trips-table'),
      name: 'TripsManage',
      meta: { title: '客流信息管理' }
    },
    {
      path: 'stations-table',
      component: () => import('@/views/table/stations-table'),
      name: 'TripsManage',
      meta: { title: '站点信息管理' }
    },
    {
      path: 'workdays-table',
      component: () => import('@/views/table/workdays-table'),
      name: 'TripsManage',
      meta: { title: '工作日信息管理' }
    },
    {
      path: 'passenger-table',
      component: () => import('@/views/table/passenger-table'),
      name: 'TripsManage',
      meta: { title: '乘客信息管理' }
    }
  ]
}
export default tableRouter
